package com.zut.dao;


import com.zut.domain.Fond;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

@Mapper
public interface FondDao {

    @Insert("insert into fond(reply_id,user_id) values(#{replyId},#{userId})")
    void likeOn(Fond fond);

    @Delete("delete from fond where reply_id = #{replyId} and user_id = #{userId}")
    void likeDown(Fond fond);
}
